package lianxi;

import java.util.Scanner;

public class demo4 {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        int a=sc.nextInt();
        String b=sc.next();
        for (int i = 0; i <a/2 ; i++) {
            for (int j = 0; j < a-1; j++) {
                System.out.print(b);
            }
            System.out.println(b);
        }
    }
}
